
import React, { useEffect } from 'react'
import Taro, { getCurrentInstance } from '@tarojs/taro'
import './index.scss'
import { NavigationBar } from '@tarojs/components'

const PlayListDetail  = () => {
  useEffect(() => {
    // getCurrentInstance 获取app实例
    let { id, name } = getCurrentInstance().router.params
    
    // 设置 NavigationBar 的头部 title
    Taro.setNavigationBarTitle({
      title: name
    })
  }, [])
  return (
    <>
      PlayListDetail
    </>
  )
}

export default PlayListDetail

